import fetchUpload from '../../../utils/upload';
import {resource} from '../../../config/config';

function upload(blob, fileName) {
	return fetchUpload(resource('/api/upload'), blob, fileName);
}

export default {
	upload,
}
